
package com.scs.application.modules.upms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.modules.upms.entity.WxmpMember;
import com.scs.application.modules.upms.request.WxmpMemberQueryRequest;

import com.scs.application.core.service.IBaseService;

import java.util.List;

/**
* 服务号成员 service 接口
*/
public interface WxmpMemberService extends IBaseService<WxmpMember> {

    List<WxmpMember> list(WxmpMemberQueryRequest request);


    IPage<WxmpMember> page(WxmpMemberQueryRequest request);

    List<WxmpMember> listByAppIdAndUserId(String appId,String userId);

    WxmpMember findByAppIdAndUserId(String appId,String userId);

    WxmpMember findByMpKeyAndUserId(String mpKey,String userId);

}
